<empty name="total">
    <a href="/space">暂无消息</a>
    <else />
    <a href="/space">消息<span class="layui-badge">{$total}</span>
    </a>
</empty>